package com.xhorse.lockplatform.model;

import com.xhorse.lockplatform.comm.model.BaseId;

import java.util.Date;

public class XhKeytoolRenew extends BaseId{

	private Integer make_name_id;

	private Integer remote_type_info_id;

	private String keytool_path;

	private String keytool_adapter;

	private String chip_type_number;

	private Integer note_id;

	private Integer caution_name_id;

	private String file_dir;

	private String version;

	private Date created_at;

	private Date updated_at;

	private String md5_make;

	private String md5_adapter;

	private String md5_pcb;

	private String md5_surface;

	public Integer getMake_name_id() {
		return make_name_id;
	}

	public void setMake_name_id(Integer make_name_id) {
		this.make_name_id = make_name_id;
	}

	public Integer getRemote_type_info_id() {
		return remote_type_info_id;
	}

	public void setRemote_type_info_id(Integer remote_type_info_id) {
		this.remote_type_info_id = remote_type_info_id;
	}

	public String getKeytool_path() {
		return keytool_path;
	}

	public void setKeytool_path(String keytool_path) {
		this.keytool_path = keytool_path;
	}

	public String getKeytool_adapter() {
		return keytool_adapter;
	}

	public void setKeytool_adapter(String keytool_adapter) {
		this.keytool_adapter = keytool_adapter;
	}

	public String getChip_type_number() {
		return chip_type_number;
	}

	public void setChip_type_number(String chip_type_number) {
		this.chip_type_number = chip_type_number;
	}

	public Integer getNote_id() {
		return note_id;
	}

	public void setNote_id(Integer note_id) {
		this.note_id = note_id;
	}

	public Integer getCaution_name_id() {
		return caution_name_id;
	}

	public void setCaution_name_id(Integer caution_name_id) {
		this.caution_name_id = caution_name_id;
	}

	public String getFile_dir() {
		return file_dir;
	}

	public void setFile_dir(String file_dir) {
		this.file_dir = file_dir;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public Date getCreated_at() {
		return created_at;
	}

	public void setCreated_at(Date created_at) {
		this.created_at = created_at;
	}

	public Date getUpdated_at() {
		return updated_at;
	}

	public void setUpdated_at(Date updated_at) {
		this.updated_at = updated_at;
	}

	public String getMd5_make() {
		return md5_make;
	}

	public void setMd5_make(String md5_make) {
		this.md5_make = md5_make;
	}

	public String getMd5_adapter() {
		return md5_adapter;
	}

	public void setMd5_adapter(String md5_adapter) {
		this.md5_adapter = md5_adapter;
	}

	public String getMd5_pcb() {
		return md5_pcb;
	}

	public void setMd5_pcb(String md5_pcb) {
		this.md5_pcb = md5_pcb;
	}

	public String getMd5_surface() {
		return md5_surface;
	}

	public void setMd5_surface_(String md5_surface) {
		this.md5_surface = md5_surface;
	}

	@Override
	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		}
		if (this == obj) {
			return true;
		}
		if (obj instanceof XhKeytoolRenew) {
			XhKeytoolRenew xhKeytoolRenew = (XhKeytoolRenew) obj;
			if (xhKeytoolRenew.keytool_path.equals(this.keytool_path)
					&& xhKeytoolRenew.keytool_adapter
							.equals(this.keytool_adapter)
					&& xhKeytoolRenew.chip_type_number
							.equals(this.chip_type_number)
					&& (xhKeytoolRenew.md5_make == this.md5_make || xhKeytoolRenew.md5_make
							.equals(this.md5_make))
					&& (xhKeytoolRenew.md5_adapter == this.md5_adapter || xhKeytoolRenew.md5_adapter
							.equals(this.md5_adapter))
					&& (xhKeytoolRenew.md5_pcb == this.md5_pcb || xhKeytoolRenew.md5_pcb
							.equals(this.md5_pcb))
					&& (xhKeytoolRenew.md5_surface == this.md5_surface || xhKeytoolRenew.md5_surface
							.equals(this.md5_surface))) {
				return true;
			}
		}
		return false;
	}

}